package cn.csust.net2.manager.shared.po;

import java.io.Serializable;
import java.util.Date;

import cn.csust.net2.manager.shared.vo.UserProperty;
import cn.csust.net2.manager.shared.xml.XmlInfo;
import cn.csust.net2.manager.shared.xml.XmlResources;

import com.extjs.gxt.ui.client.data.BeanModelTag;

public class Money extends PO implements Serializable,BeanModelTag, UserProperty {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4857798283758529798L;

	private Integer moneyID;
	private String schoolYear;
	private String whetherDelayTuition;
	private Date delayDeadline;
	private String delayMoney;
	private String whetherLoan;
	private String loanMoney;
	private String remark;
	
	private User user;
	
	public Money() {
		
	}
	
	public Integer getMoneyID() {
		return moneyID;
	}

	public void setMoneyID(Integer moneyID) {
		this.moneyID = moneyID;
	}

	public String getSchoolYear() {
		return schoolYear;
	}

	public void setSchoolYear(String schoolYear) {
		this.schoolYear = schoolYear;
	}

	public String getWhetherDelayTuition() {
		return whetherDelayTuition;
	}

	public void setWhetherDelayTuition(String whetherDelayTuition) {
		this.whetherDelayTuition = whetherDelayTuition;
	}

	public Date getDelayDeadline() {
		return delayDeadline;
	}

	public void setDelayDeadline(Date delayDeadline) {
		this.delayDeadline = delayDeadline;
	}

	public String getDelayMoney() {
		return delayMoney;
	}

	public void setDelayMoney(String delayMoney) {
		this.delayMoney = delayMoney;
	}

	public String getWhetherLoan() {
		return whetherLoan;
	}

	public void setWhetherLoan(String whetherLoan) {
		this.whetherLoan = whetherLoan;
	}

	public String getLoanMoney() {
		return loanMoney;
	}

	public void setLoanMoney(String loanMoney) {
		this.loanMoney = loanMoney;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	@Override
	public String getDisplayName() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	protected XmlInfo getXmlInfo(XmlResources instance) {
		// TODO Auto-generated method stub
		XmlInfo xmlInfo = new XmlInfo();
		xmlInfo.setTextResource(instance.money());
		return xmlInfo;
	}

}
